package day04.Polymorphic.IncomeCalcultor;

public class Income {
    public double income;

    public Income() {
    }

    public Income(double income) {
        this.income = income;
    }

    public double getTax() {
        return income * 0.1;
    }
}
